package IC.lir.instructions;

public class MoveArrayInstruction extends ComplexMoveInstruction {

	//C'tor
	public MoveArrayInstruction(Operand base, Operand offset, Operand mem, boolean isLoad) {
		super(base,offset,mem,isLoad);
	}
	
	@Override
	public String toString() {
		if (isLoad) 
			return "MoveArray " + base + "[" + offset + "]," + mem;
		else
			return "MoveArray " + mem + "," + base + "[" + offset + "]";	
	}

}